public class Staff extends Empolyee{
    String title;
    Staff(String name,String adress,String phonenum,String email, String office,double salaries,String date,String title){
        super(name, adress, phonenum, email, office, salaries, date);
        this.title = title;
    }
    public String toString(){
        return name + " " + adress + ' '+phonenum+' '+' '+email+' '+office+' '+salaries+' '+date + title;

    }
}
